/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: AliPay.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/15 下午4:13
 * LastModified: 2020/03/15 16:13:15
 */

package com.qolome.knowledge.design.pattern.strategy.demo.pay;

import java.math.BigDecimal;

/**
 * @author Qolome
 * @version V1.0
 * @Description 微信支付
 * @date 2020年 03月15日 16:13:14
 */
public class WechatPay extends AbstractPayment{

    @Override
    public String getName() {
        return "微信支付";
    }

    @Override
    protected BigDecimal queryBalance(String uid) {
        return new BigDecimal("500");
    }
}
